package com.jic.point.model.vo.request;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@ApiModel(description = " 基本规则表实体类")
public class ConfActivityRuleDetailRequest extends BaseEntityRequest{
	private static final long serialVersionUID = 1L;
    @ApiModelProperty(notes = "主键")
    private Long id;

    @ApiModelProperty(notes = "上级id")
    private Long pid;

    @ApiModelProperty(notes = "平台Code(关联conf_platform.code)")
    private String platformCode;

    @ApiModelProperty(notes = "活动表code")
    private String rulesCode;

    @ApiModelProperty(notes = "外部规则编码")
    private Long ruleKey;

    @ApiModelProperty(notes = "活动表ID加年月日时分秒")
    private String code;

    @ApiModelProperty(notes = "模板id")
    private Long templateId;

    @ApiModelProperty(notes = "场景id")
    private Long sceneId;

    @ApiModelProperty(notes = "场景名称")
    private String sceneName;

    @ApiModelProperty(notes = "增加类型 区间(随机)1，固定值2，转换率3，递增4，满加5，计算6")
    private Integer addType;

    @ApiModelProperty(notes = "规则类型(1-基本规则；2-额外规则；3-限制规则)")
    private Integer ruleType;

    @ApiModelProperty(notes = "额外规则操作方式：1基本规则(有ruleKey)；3限制规则(无ruleKey)")
    private Integer extraType;

    @ApiModelProperty(notes = "表达式")
    private String expression;

    @ApiModelProperty(notes = "特殊日期-标题")
    private String title;

    @ApiModelProperty(notes = "固定")
    private Long addScore;

    @ApiModelProperty(notes = "增量")
    private Long increaseScore;

    @ApiModelProperty(notes = "下限")
    private Long minScore;

    @ApiModelProperty(notes = "上限")
    private Long maxScore;

    @ApiModelProperty(notes = "满加次数")
    private Integer fullNum;

    @ApiModelProperty(notes = "每日次数")
    private Integer dailyNum;

    @ApiModelProperty(notes = "最大次数")
    private Integer maxNum;

    @ApiModelProperty(notes = "产品")
    private String productType;

    @ApiModelProperty(notes = "基本规则描述")
    private String description;

    @ApiModelProperty(notes = "申请人ID")
    private Long applierId;

    @ApiModelProperty(notes = "申请原因")
    private String applyReason;

    @ApiModelProperty(notes = "审批ID")
    private Long auditorId;

    @ApiModelProperty(notes = "审批原因")
    private String auditReason;

    @ApiModelProperty(notes = "")
    private String creatorName;

    @ApiModelProperty(notes = "")
    private String updaterName;

    @ApiModelProperty(notes = "状态（0、待审核；1、启动；2、停用）")
    private Integer auditSts;

    @ApiModelProperty(notes = "0-正常,1-修改,2-删除")
    private Integer currentAction;

    @ApiModelProperty(notes = "开始日期")
    private Date startTime;

    @ApiModelProperty(notes = "结束日期")
    private Date endTime;

    private String addTypeName;

    private String  ruleTypeName;
}
